package org.dromara.soul.common.dto.convert.custom;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.dromara.soul.common.constant.Constants;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.HashSet;
import java.util.List;
import java.util.Set;

/**
* @Description
* @Author hex
* @CreateDate 2020/1/19 16:05
*/
@ToString
@Getter
@Setter
public class AuthHandler implements Serializable {

	/**
	 * 服务
	 */
	private String serverId;

	/**
	 * this remote uri path.
	 */
	private String path;

	/**
	 * this remote uri path.
	 */
	private String postApplicationJsonPath;

	/**
	 * timeout is required.
	 */
	private long timeout = Constants.TIME_OUT;

	private Set<String> ignorePathSet = new HashSet<>();

	private Set<String> platformTagSet = new HashSet<>();

	private Set<String> whitePathSet = new HashSet<>();
}
